﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IdeaNMR.Core.Web
{
    public interface INMRObjectFassade
    {
        /// <summary>
        /// Holds the type of the Component
        /// </summary>
        ComponentType ComponentType
        { get; }

        /// <summary>
        /// Initializes the Object with the values of the DB entity.
        /// </summary>
        /// <param name="id"></param>
        void Initialize(Guid id, string userName);

        void SaveToDatabase(string userName);
    }
}
